home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2469 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.2 KB

  1. Path: newsfeed.tip.net!usenet
  2. From: mikael.berglund@amiga.pp.se (Mikael Berglund)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
  5. Date: 31 Jan 1996 17:29:36 GMT
  6. Organization: Uniplus Internet Access
  7. Message-ID: <2546.6603T1204T338@amiga.pp.se>
  8. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org>    <4dsalp$t68@news1.halcyon.com>
  9.     <4du0ju$84b@news.sdd.hp.com>    <4e2e76$9k3@toad.stack.urc.tue.nl>
  10.     <4e3j8v$jd0@news.sdd.hp.com>    <4e7si4$ore@tuegate.tue.nl>
  11.     <4e8asc$rht@news.sdd.hp.com> <1349.6599T1259T2701@amiga.pp.se> <4egkuh$j1q@news.sdd.hp.com>
  12. NNTP-Posting-Host: a711011.dial.tip.net
  13. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  14.  
  15. In a message 28-Jan-96 21:05:37 Jeff Grimmett <jgrimm@sdd.hp.com> wrote:
  16.  
  17.  JG> Fine.  But at least if it's linked, it's in the same place.  If/when I
  18.  JG> decide that this program is a waste of electrons, simply deleting that
  19.  JG> one program and/or its directory will take care of things, nice and tidy,
  20.  JG>  whereas if it sneaks a shared lib in on me, it'll still be there in the
  21.  JG> year 2000, and I'll still be wondering how it got there.
  22.  
  23. But this is not a fault of shared libraries but the programmer making a
  24. stupid install script. You can hardly blame the shared libraries for that.
  25. Why not use the log capability of installer or prior to installing new
  26. software count your libraries and then count them again after installation.
  27.  
  28. Also, i have seen a program floating around that identifies libraries and
  29. tells you which libraries are used by what program(s). This would give you
  30. some hint of what libraries can relatively safely be removed.
  31.  
  32.  JG> Kinda negates having it in a shared library, then, doesn't it?
  33.  
  34. Maybe, initially. But the fact is that that should be the desired behaviour
  35. and if i don't mistake myself too much it is stated so in official
  36. documentation.
  37.  
  38. But if you have a link library how many programmers would be inclined to use
  39. it? :D
  40.  
  41.  JG> Irrelevant to my point, really.  Whether the code is in an overlay, in
  42.  JG> the program itself, or in BeepBop-a-ReeBop.library is irrelevant.  If no
  43.  JG> one else will be using the library, it serves no purpose than to confuse
  44.  JG> things.
  45.  
  46. Not if you are low on memory :D Remember that a program does not have to
  47. load all libraries directly but can use them whenever needed and then close
  48. them thus making more memory available. Whereas if the code is linked you
  49. have no way of dumping it even if it is not needed every time this program
  50. is executed.
  51.  
  52. But then again, as the user you shouldn't have to care, this is a decision
  53. made by the programmer. The problem really is that you've stumbled over some
  54. bad installation scripts that have made you have to care.
  55.  
  56.  JG> I'd just like to see a little judgement used by developers, is all.  If
  57.  JG> there's no real compelling reason to put it in a library, it shouldn't
  58.  JG> be.  But, if you do, DOCUMENT IT and make the required files available to
  59.  JG> other developers so that it is NOT a waste.
  60.  
  61. Again, placing the code in a shared library PROBABLY stems from the fact
  62. that the programmer is thinking about reusing the code later.
  63.  
  64. Can you see? I really LIKE shared libraries ;D
  65.  
  66. --
  67.   Regards TMB    PGP public key available
  68.  
  69.